package com.woniuxy.book87.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class BookVo {
    private Long id;
    private String name;
    private Integer typeId;
    private String typeName;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date publishdate;
    private String provider;
    private String author;
    private BigDecimal price;
    private Integer collectioncount;
    private Integer storecount;
    private Integer buycount;
    private Integer readcount;
    private Integer state;
    private String detail;
    private String imgsrc;
}
